const status = {
    // 薪资要素
    SALARY_ITEM: 1,
    // 薪资模板
    SALARY_TEMPLATE: 2,
    // 发放流程
    SALARY_PAY_SETTING: 3,
    // 险金档案-城市
    INSURANCE_HOUSE: 4,
    // 个税
    PERSONAL_TAX: 5,
    // 绩效系数
    SALARY_BASE_KPI: 6,
    // 个税初始化
    SALARY_PAYROLL_TAX: 7,
    // 薪资反馈
    SALARY_FEEDBACK: 8,
    // 险金基数
    SALARY_PREMIUM: 10,
    // 险金基数
    SETTING_BASE: 11,
    // 险金基数
    SETTING_SALARY_WORK: 12,
    // 险金基数
    SETTING_SALARY_EDITORIAL: 13,
    // 专项扣款
    SETTING_SALARY_SPECIAL: 14,
    // 专项扣款
    SETTING_SALARY_SPECIAL_LOG: 15,
    // CPF(中央公积金)
    CPF: 16,
    // 技能发展税
    SDL: 17,
    // 种族自助金
    SHG: 18
};

/**
 * 险金档案流程状态枚举
 */
const handleEnum = {
    [status.SALARY_ITEM]: {
        value: status.SALARY_ITEM,
        text: '薪资要素'
    },
    [status.SALARY_TEMPLATE]: {
        value: status.SALARY_TEMPLATE,
        text: '薪资模板'
    },
    [status.SALARY_PAY_SETTING]: {
        value: status.SALARY_PAY_SETTING,
        text: '发放流程'
    },
    [status.INSURANCE_HOUSE]: {
        value: status.INSURANCE_HOUSE,
        text: '险金档案-城市'
    },
    [status.PERSONAL_TAX]: {
        value: status.PERSONAL_TAX,
        text: '个税'
    },
    [status.SALARY_BASE_KPI]: {
        value: status.SALARY_BASE_KPI,
        text: '绩效系数'
    },
    [status.SALARY_PAYROLL_TAX]: {
        value: status.SALARY_PAYROLL_TAX,
        text: '个税初始化'
    },
    [status.SALARY_FEEDBACK]: {
        value: status.SALARY_FEEDBACK,
        text: '薪资反馈'
    }
};

export { handleEnum as default, status as logBusiUnit };
